package com.schoolET.entity.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author: lin
 * @className: GoodsInfoDTO
 * @createTime: 2024-06-06  11:06
 * @description: 商品信息DTO
 */
@Data
public class GoodsInfoDTO {

    @ApiModelProperty("微信id")
    private Integer wechatId;

    @ApiModelProperty("图片")
    private String picture;

    @ApiModelProperty("主题")
    private String theme;

    @ApiModelProperty("描述")
    private String goodsDescribe;

    @ApiModelProperty("价格")
    private Long price;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("商品类型")
    private String type;
}
